package uk.ac.cam.djjb2.mygame;

import java.io.DataInput;
import java.io.IOException;

public class ClientReplicaBase implements ClientReplica {
	private final int id;
	private final ClientReplicaManager replicaManager;
	
	public ClientReplicaBase(ClientReplicaManager replicaManager, int id, DataInput message) {
		this.id = id;
		this.replicaManager = replicaManager;
	}
	@Override
	public int getId() {
		return id;
	}

	@Override
	public void update(DataInput message) throws IOException,
			InvalidMessageException {
	}

	@Override
	public void destroy(DataInput message) throws IOException,
			InvalidMessageException {
	}
	@Override
	public ClientReplicaManager getReplicaManager() {
		return replicaManager;
	}

}
